package anim.animacije;

import java.awt.Color;

import anim.objekti.ObojeniRect;

/**
 * @author Aleksandar Stancic
 */

public class PostaviPozadinu implements Animacija {
	private ObojeniRect obj = null;
	private Color boja;
	
	public PostaviPozadinu(ObojeniRect obj, Color boja)
	{
		this.obj = obj;
		this.boja = boja;
	}
	
	@Override
	public boolean otkucaj() {
		obj.setPozadina(boja);
		return false;
	}

}
